<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
 四川证监局管理系统
 <script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script>
<script>
    var baseUrl = "http://127.0.0.1:8080/" //http://sc.castingyou.cn/
    $.ajax({
        url:  baseUrl+"sichuansfc/fund/user/profile.bs",
        type: "GET",
        xhrFields: {
            withCredentials: true
        },
        beforeSend: function(xhr) {
            xhr.withCredentials = true;
        },
        AccessControlAllowOrigin: "*",
        headers : {'FUND_USER_TOKEN':'b894de84ece74246992c2e37a07a75441'},
        success: function (data) {
            console.dir(data)
        },
        error: function () {
            alert("上传失败！");
        }
    });
//    $.ajax({
//        url:  "http://sc.castingyou.cn/sichuansfc/fund/user/update.bs?password=123456&newPassword=654321A",
//        type: "GET",
//        xhrFields: {
//            withCredentials: true
//        },
//        beforeSend: function(xhr) {
//            xhr.withCredentials = true;
//        },
//        AccessControlAllowOrigin: "*",
//        success: function (data) {
//            console.dir(data)
//        },
//        error: function () {
//            alert("上传失败！");
//        }
//    });
</script>
</body>
</html>